package com.sky.edumanageapi.teacher.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.xml.soap.Text;
import java.time.DateTimeException;
import java.util.Date;

@Data
@TableName("teacher")
public class Teacher {
    @ApiModelProperty(value = "讲师id")
    @TableId(type = IdType.AUTO)
    private Long teacherId;

    @ApiModelProperty(value = "讲师姓名")
    private String teacherName;

    @ApiModelProperty(value = "讲师头衔")
    private String title;

    @ApiModelProperty(value = "讲师头衔")
    private String description;

    @ApiModelProperty(value = "讲师头像")
    private String avatar;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
